<#import "../../layout.html" as c>
    <#import "../../list_layout.html" as list>
        <#assign alertList = []/>
        <@c.html title="订单列表">
        <!-- ================== 开始页面级CSS调用 ================== -->
        <link href="${pluginsRoot}bootstrap-wizard/css/bwizard.min.css" rel="stylesheet"/>
        <!-- 日历控件 -->
        <link href="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/skin/WdatePicker.css" rel="stylesheet"/>
        <link href="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/skin/default/datepicker.css" rel="stylesheet"/>
        <!-- ================== 结束页面级CSS调用 ================== -->
        <@list.html title="所有订单列表" subTitle="所有订单列表" alertList=alertList permi="sys:myOrder:save" addBtn=true searchHint="请输入客户ID进行搜索">

        <!-- 开始用户权限参数 -->
        <@shiro.hasPermission name="sys:myOrder:edit">
            <input type="hidden" id="editPermi" value="1"/>
        </@shiro.hasPermission>
        <@shiro.hasPermission name="sys:myOrder:del">
            <input type="hidden" id="delPermi" value="1"/>
        </@shiro.hasPermission>
        <@shiro.hasPermission name="sys:order:pass">
            <input type="hidden" id="passPermi" value="1"/>
        </@shiro.hasPermission>
        <@shiro.hasPermission name="sys:orderPass:edit">
            <input type="hidden" id="passEditPermi" value="1"/>
        </@shiro.hasPermission>
        <@shiro.hasPermission name="sys:order:look">
            <input type="hidden" id="lookPermi" value="1"/>
        </@shiro.hasPermission>
<!-- 结束用户权限参数 -->


<div class="modal fade" id="lookModal" tabindex="-1" role="dialog">
</div>
<!-- 开启编辑管理员模态窗口 -->
<div class="modal fade" id="addModal" tabindex="-1" role="dialog">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title"> 审核 <a class="btn btn-info btn-xs m-l-10" role="button" data-toggle="collapse" href="#OperationTip" aria-expanded="true" title="操作提示"> <i class="fa fa-exclamation"></i> &nbsp;提示 </a> </h4>
                <ul class="text-info p-b-15 p-l-15 collapse in" role="tabpanel" id="OperationTip">
                    <li class="m-b-3">点击确定，通过审核</li>
                </ul>
            </div>
            <div class="modal-body">
                <form id="addForm" autocomplete="off" action="${adminRoot}order/pass.json" method="post" data-parsley-validate="true">
                    <input type="hidden" id="orderId" name="id">
                </form>
            </div>
            <div class="modal-footer"> <a href="javascript:;" class="btn btn-white" data-dismiss="modal">放弃操作</a> <a href="javascript:;" class="btn btn-primary" data-loading-text="Loading..." nc-ajax-submit-target="addForm" nc-ajax-submit>确认提交</a> </div>
        </div>
    </div>
</div>
<!-- 结束编辑管理员模态窗口 -->

<!-- 开启编辑管理员模态窗口 -->
<div class="modal fade" id="editModal" tabindex="-1" role="dialog">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title"> 修改订单 <a class="btn btn-info btn-xs m-l-10" role="button" data-toggle="collapse" href="#OperationTipsAdd" aria-expanded="true" title="操作提示"> <i class="fa fa-exclamation"></i> &nbsp;提示 </a> </h4>
            </div>
            <div class="modal-body">
                <ul class="text-info p-b-15 p-l-15 collapse in" role="tabpanel" id="OperationTipsAdd">
                    <li class="m-b-3">请检查并校对信息</li>
                </ul>
                <form id="editForm" autocomplete="off" action="${adminRoot}/orderPass/edit.json" method="post" data-parsley-validate="true">
                    <input type="hidden" id="ordId" name="id"/>
                    <div class="form-group">
                        <label class="control-label">客户ID&nbsp;:</label>
                        <input type="text" class="form-control" id="userId"disabled/>
                    </div>
                    <div class="form-group">
                        <label class="control-label">客户姓名&nbsp;:</label>
                        <input type="text" class="form-control"  id="userName"disabled/>
                    </div>
                    <div class="form-group">
                        <label class="control-label">股票代码&nbsp;:</label>
                        <input type="text" class="form-control"  id="equityCode"disabled/>
                    </div>
                    <div class="form-group">
                        <label class="control-label">股票名称&nbsp;:</label>
                        <input type="text" class="form-control"  id="equityName"disabled/>
                    </div>
                    <div class="form-group">
                        <label class="control-label">投资人姓名&nbsp;:</label>
                        <input type="text" class="form-control"  id="investName"disabled/>
                    </div>

                    <div class="form-group">
                        <label class="control-label">买入成交价格&nbsp;:</label>
                        <input type="text" class="form-control" name="buyDealPrice" id="buyDealPrice"/>
                    </div>
                    <div class="form-group">
                        <label class="control-label">买入成交数量&nbsp;:</label>
                        <input type="text" class="form-control" name="dealNumber" id="dealNumber"/>
                    </div>
                    <div class="form-group">
                        <label class="control-label">卖出成交价格&nbsp;:</label>
                        <input type="text" class="form-control" name="sellDealPrice" id="sellDealPrice"/>
                    </div>
                    <div class="form-group">
                        <label class="control-label">卖出成交数量&nbsp;:</label>
                        <input type="text" class="form-control" name="sellDealNumber" id="sellDealNumber"/>
                    </div>
                </form>
            </div>
            <div class="modal-footer"> <a href="javascript:;" class="btn btn-white" data-dismiss="modal">放弃操作</a> <a href="javascript:;" class="btn btn-primary" data-loading-text="Loading..." nc-ajax-submit-target="editForm" nc-ajax-submit>确认提交</a> </div>
        </div>
    </div>
</div>
<!-- 结束编辑管理员模态窗口 -->

</@list.html>
<!-- ================== 开始页面级JavaScrip调用 ================== -->
<script src="${pluginsRoot}bootstrap-wizard/js/bwizard.js"></script>
<!-- 表单checkbox项 -->
<script src="${pluginsRoot}bootstrap-switch/bootstrap-switch.min.js"></script>
<!-- 日历控件 -->
<script src="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/WdatePicker.js" defer="defer"></script>
<script src="${jsRoot}waitBalance/waitBalance.handle.js"></script>
<!-- ================== 结束页面级JavaScrip调用 ================== -->
</@c.html>
S